@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/doctor.css?v=20200628" rel="stylesheet">
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/doctor_update.css?v=20200628" rel="stylesheet">
<div style="display: none">
    <input type="hidden" id="storeValue" value="${info.arrivalStore}">
    <input type="hidden" id="userName" value="${info.doctor}">
    <input type="hidden" id="id" value="${info.id}">
</div>
<div>
    <div style="background: #6090b8;color: white;padding: 5px 10px;">编辑耗材加工</div>
    <div style="padding:10px;">
        <div class="historyBox">
            <div>牙位</div>
            <div style="flex: 2;">耗材<span class="asterisk">*</span></div>
            <div>门店<span class="asterisk">*</span></div>
            <div>数量<span class="asterisk">*</span></div>
            <div>单价<span class="asterisk">*</span></div>
            <div>金额<span class="asterisk">*</span></div>
            <div>实付金额<span class="asterisk">*</span></div>
            <div>所属类别<span class="asterisk">*</span></div>
        </div>
        <div class="machiningBox" id="machiningBox" style="width: 100%">
            <div class="historyBox" style="padding: 5px 0;">
                <div class="toothBox" style="height: 28px;line-height: 14px;">
                    <div style="flex: 1;border-bottom: 1px solid #999999;display: flex">
                        <input style="border-right: 1px solid #999999;text-align: right;" class="leftUp" name="leftUp" value="${info.leftUp}">
                        <input class="rightUp" name="rightDown" value="${info.rightDown}">
                    </div>
                    <div style="flex: 1;display: flex">
                        <input style="border-right: 1px solid #999999;text-align: right;" class="rightDown" name="rightDown" value="${info.rightDown}">
                        <input class="leftDown" name="leftDown" value="${info.leftDown}">
                    </div>
                </div>
                <div style="flex: 2;">
                    <input class="selectStyles consumableName" name="consumableName" value="${info.consumableName}" style="width: 80%;"/>
                </div>
                <div>
                    <select class="selectStyles arrivalStore"  id="arrivalStores" style="width: 94%;">
                        <option value="">--请选择门店--</option>
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
                <div>
                    <input class="selectStyles number" name="number" value="${info.number}" oninput = "machiningNumbers(this)"/>
                </div>
                <div>
                    <input class="selectStyles price" name="price" value="${info.price}" oninput = "maniningPrices(this)"/>
                </div>
                <div>
                    <input class="selectStyles amount" name="amount" value="${info.amount}" readonly="readonly"/>
                </div>
                <div>
                    <input class="selectStyles amountActually" name="amountActually" value="${info.amountActually}" />
                </div>
                <div>
                    <input class="selectStyles type" name="type" value="${info.type}" />
                </div>
            </div>
        </div>
        <div style="padding-top: 20px;">
            <div style="margin-bottom: 10px;">
                <span style="vertical-align: top;display: inline-block;">医生姓名：</span>
                <select type="text" id="doctor" name="doctor" style="width:166px;height: 28px">
                    <option value="">--请选择医生--</option>
                    @for(str in doctorList){
                    <option value="${str.doctor}">${str.doctor}</option>
                    @}
                </select>
            </div>
            <div>
                <span style="vertical-align: top;display: inline-block;">备注信息：</span>
                <textarea name="remarks" id="remarks" value="${info.remarks}" style="width: 300px;height: 60px;"></textarea>
            </div>
        </div>
    </div>
    <div class="btnBox">
        <button type="button" id="ensure" class="btn">确定</button>
        <button type="button" id="cancel" class="btn" >取消</button>
    </div>
    @layout("/common/_noneBox.html"){
    @}
</div>
<script src="${ctxPath}/static/modular/doctorLooked/doctor_process_update.js?v=20200628"></script>
@}